-
Home
-
Print Invoice & Delivery Notes for WooCommerce
-
5.0.0
-
Code
-
Classes
- FontMetrics
Total Complexity |
86 |
Dependencies |
4 |
Dependents |
6 |
Total lines |
615 |
Lines of code |
291 |
Logical lines of code |
187 |
Comment lines |
201 |
Methods |
29 |
Properties |
5 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
registerFont() |
A |
37 |
13 |
73 |
getFont() |
A |
46 |
13 |
42 |
loadFontFamiliesLegacy() |
A |
50 |
11 |
27 |
setFontFamilies() |
A |
52 |
9 |
24 |
getType() |
A |
55 |
9 |
18 |
getTextWidth() |
S |
56 |
5 |
17 |
getFamily() |
S |
66 |
2 |
8 |
loadFontFamilies() |
S |
65 |
2 |
9 |
getFontFamilies() |
S |
72 |
2 |
6 |
setCanvas() |
S |
77 |
1 |
4 |
getOptions() |
S |
82 |
1 |
3 |
setOptions() |
S |
73 |
1 |
5 |
getUserFontsFilePath() |
S |
79 |
1 |
3 |
setFontFamily() |
S |
73 |
1 |
5 |
set_font_family() |
S |
80 |
1 |
3 |
get_font_families() |
S |
81 |
1 |
3 |
__construct() |
S |
74 |
1 |
5 |
get_type() |
S |
80 |
1 |
3 |
get_family() |
S |
80 |
1 |
3 |
save_font_families() |
S |
82 |
1 |
3 |
get_font() |
S |
79 |
1 |
3 |
getFontBaseline() |
S |
79 |
1 |
3 |
getFontHeight() |
S |
79 |
1 |
3 |
get_font_height() |
S |
79 |
1 |
3 |
get_text_width() |
S |
78 |
1 |
3 |
register_font() |
S |
79 |
1 |
3 |
load_font_families() |
S |
82 |
1 |
3 |
saveFontFamilies() |
S |
78 |
1 |
3 |
getCanvas() |
S |
82 |
1 |
3 |